package whx.controller;

import org.springframework.stereotype.Controller;
import whx.annotation.RequestMapping;
import whx.annotation.RequestParam;

import javax.servlet.http.HttpServletResponse;

@Controller
public class HelloController {

    @RequestMapping("/hello.do")
    public String hello(@RequestParam("name")String name){
        System.out.println("......test");
        return name+"hello One!";
    }

}
